package com.ax;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.ax.associator.*.dao")
public class RemoteAssociatorApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(RemoteAssociatorApplication.class).web(true).run(args);
    }
}